<?
/**************************************************************************************************
上传文件页面
Author			warmy
Create Date		2005-09-29

参数			form			设置存放上传文件名称表单的名称
				form			设置存放上传文件名称文本框名称
**************************************************************************************************/
$form = "";
$formname = "";
if(isset($_GET['formname']))
	$formname = $_GET['formname'];
if(isset($_GET['form']))
	$form = $_GET['form'];
?>
<html>
<head>
<title>文件上传</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
td {  font-size: 9pt}
a {  color: #000000; text-decoration: none}
a:hover {  text-decoration: underline}
.tx {  height: 16px; width: 30px; border-color: black black #000000; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; font-size: 9pt; background-color: #eeeeee; color: #0000FF}
.bt {  font-size: 9pt; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; height: 16px; width: 80px; background-color: #eeeeee; cursor: hand}
.tx1 { height: 20px; width: 30px; font-size: 9pt; border: 1px solid; border-color: black black #000000; color: #0000FF}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<?if ($formname == "" || $form == "")
	print("未设置表单名称");
else
{
?>
<form name="form1" method="post" action="uploadsave.php?formname=<?=$formname?>&form=<?=$form?>" enctype="multipart/form-data" >
	<input type="hidden" name="filepath" class="tx" style="width:350" value="../upload/">
	<input type="file" name="<?=$formname?>" style="width:200" class="tx1" value=""> 
	<input type="submit" name="Submit" value="· 提交 ·" class="bt">   
	<input type=hidden name=proimg value="">
</form>
<?}?>
</body>
</html>